Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix android12/13 crash #15

Merged
merged 2 commits into from
Mar 21, 2023
Merged

Fix android12/13 crash #15

merged 2 commits into from
Mar 21, 2023

Conversation

sz3
Copy link
Owner

@sz3 sz3 commented Mar 21, 2023

This should address #14.

There's a mysterious interaction between setting targetSdkVersion >= 32 and (libcimbar and) either the old NDK version or the old opencv version that results in a consistent crash. My wild guess is it's the NDK, but the upshot should be:

  1. this PR should fix the issue
  2. the version in the android play store will continue to be broken, because Google won't let me update the apk without setting the targetSdkVersion to >= 32. 🙃

Misc notes, NDK upgrade edition:

  • (currently 22.1.7171670 -- I ran into issues with 23.x, and pretty noticeable bad performance with 24.x)

Misc notes, opencv upgrade edition:

  • (currently 4.4 -- I've run into issues with both 4.6 and 4.7 🫠 )

sz3 added 2 commits March 19, 2023 19:12
I'm not sure what the interaction is exactly -- maybe ndk related, maybe
to do with the old opencv version (4.4) we're still on -- but being on
32/33 causes consistent crashes on Android 12/13 (observed on Samsungs,
possibly on others).
@sz3 sz3 merged commit da4270c into master Mar 21, 2023
@sz3 sz3 deleted the fix-android12-13-crash branch March 21, 2023 01:47
@sz3 sz3 mentioned this pull request Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant